GetEnum<T>(IPdfArray,Int32,Nullable<T>) Method
In This Topic
Gets the nullable enum value at the specified index. If the value does not exist or cannot be converted to an enum, returns (which can be null).
Syntax
'Declaration
Public Overloads Shared Function GetEnum(Of As {New, Struct})( _
ByVal As IPdfArray, _
ByVal As System.Integer, _
ByVal As System.Nullable(Of T) _
) As System.Nullable(Of T)
public static System.Nullable<T> GetEnum<>(
IPdfArray ,
System.int ,
System.Nullable<T>
)
where T: new(), struct
Parameters
- array
- The current array.
- index
- The value index.
- defValue
- The default value.
Type Parameters
- T
Return Value
The value at the specified index, or .
See Also